<ul>
{% for code, name in [("en", "English"), ("fr", "Français") ] %}
    {% if code != language %}
    <li><a href="/docs/{{version}}/{{code}}/{{ pagename }}{{file_suffix}}">{{ name }}</a></li>
    {% endif %}

{% endfor %}
</ul>
